<div class="list-cart">
	<a class="button add" href="<?php echo $this->url('addCard'); ?>"><?php echo _('Добавить карточку'); ?></a>
	
	<?php if($this->row): ?>
	<section>
		<h4><?php echo $this->row['title']; ?> <a href="<?php echo $this->url('editCard', array('id' => \App::model('Vocabulary')->getUrl($this->row))); ?>"><?php echo _('Редактировать'); ?></a></h4>
		<?php foreach($this->row['words'] as $row): ?>
		<p><?php echo $row['word'] .'-'. $row['translate']; ?></p>
		<?php endforeach; ?>
	</section>
	<?php endif; ?>
</div>